package com.etc.togo.dao;

import java.util.List;

public interface IBaseDAO<T> {

	public void save(T t);

	public void update(T t);

	public void delete(Class<T> entityClazz, Long id);

	public T findById(Class<T> entityClazz, Long id);

	public List<T> findAll(Class<T> entityClazz);
	
	public void delete(T t);
	
}